#include "ShipInvisibilityProperty.h"

using namespace view;

ShipInvisibilityProperty::ShipInvisibilityProperty(Ship* ship)
{
	this->ship = ship;
}

ShipInvisibilityProperty::~ShipInvisibilityProperty(void)
{
}

int ShipInvisibilityProperty::getProgress(void)
{
	return ship->isInvisibilityEnabled();
}

bool ShipInvisibilityProperty::isDone(void)
{
	return !ship->isInvisibilityEnabled();
}
